package com.yssw.client.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yssw.common.annotation.Excel;
import com.yssw.common.core.domain.BaseEntity;

/**
 * 维修记录对象 user_service_log
 *
 * @author yssw
 * @date 2023-04-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class UserServiceLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private Long id;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 服务类型id（维修类型）
     */
    @Excel(name = "服务类型id", readConverterExp = "维=修类型")
    private Long serviceId;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private Long equipmentId;

    /**
     * 维修详情
     */
    @Excel(name = "维修详情")
    private String serviceDetails;

    /**
     * 服务名称
     */
    @Excel(name = "服务名称")
    @TableField(exist = false)
    private String serviceName;


}
